home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / we32m30d.zip / RECENT.TX_ < prev    next >
Text File  |  1993-10-29  |  7KB  |  193 lines

  1. Note:  In this current release....
  2.   
  3.        NT Versions 
  4.  
  5.                OLE 2.0 automation not currently supported with NT versions.
  6.         FAT, NTFS, and HPFS files systems supported.
  7.  
  8.        WIN16 Versions
  9.  
  10.         All listed features functional.  Documentation for these
  11.         new features is a tad slim and will remain so until the
  12.         next major release.  
  13.  
  14.  
  15. debugdata(String,String)
  16.         Dumps data via the Windows OutputDebugString to your default
  17.         destination
  18.     
  19.         a=5
  20.         DebugData("Value of A is",a)
  21.     
  22. winisdos(WindowName)
  23.         Tells whether or not a particular window is a DOS window.  
  24.     
  25.        a=WinIsDOS("Command")
  26.        if a==@TRUE then Message("command.com","is a DOS window")
  27.     
  28. gettickcount(void)
  29.         Returns number of clock ticks since Windows started
  30.         
  31.         Message("Clock Ticks",GetTickCount())
  32.                
  33. getexacttime(void)
  34.         Returns current time in hundredths of a second
  35.         
  36.         Message("Time is",GetExactTime())
  37.         
  38. shellexecute(who,params,workingdir,how,wait)
  39.         Executes programs via the Windows ShellExecute function
  40.         
  41.         ShellExecute("notepad.exe","c:\config.sys","",@NORMAL,@NOWAIT)
  42.                                                       @ZOOMED @WAIT
  43.                                                       @ICON
  44.                                                       @HIDDEN
  45.          
  46. shellprint(program/file ,params,workingdir, how, wait)
  47.         Calls the Windows ShellExecute function to print data. 
  48.         
  49.         ShellPrint("Stuff.txt","",GetDir(),@NORMAL,@NOWAIT)
  50.            
  51.      
  52. objectopen(progidname)
  53.         Creates an Ole Object for Ole Automation to occur.
  54.         See OLECALC.WBT and OLEPOLY.WBT
  55.         
  56.         ObjectName=ObjectOpen("display.ccalc")
  57.  
  58.    
  59. objectclose(ObjectName)
  60.         Terminates an Ole Object.
  61.         See OLECALC.WBT and OLEPOLY.WBT
  62.         
  63. runexit(who,params)
  64.         Exits windows, runs a DOS program, and restarts windows when DOS
  65.         program exits.  Great for running batch files outsize of Windows.
  66.         
  67.         
  68.          
  69.          
  70. regopenkey(handle,string)
  71.         Returns handle to key.  For root key use @REGROOT
  72.                   
  73. regcreatekey(handle,string) 
  74.         Returns handle to key.  For root key use @REGROOT
  75.         
  76. regclosekey(handle)
  77.         Closes a key
  78.           
  79. regdeletekey(handle,string)
  80.         Deletes a key
  81.         
  82. regsetvalue(handle,string,value)
  83.         Sets a value in the reg database
  84.           
  85. regqueryvalue(handle,string)
  86.         Retuns valuse in a string
  87.         
  88. regquerykey(handle,index)
  89.         Returns name string at index position  (SDK Guys...see RegEnumKey)  
  90.         
  91.         
  92.         
  93.      
  94. environset(name,value)
  95.         Changes LOCAL Environment variables  (Also see Environment in manual)
  96.         Does not increase environment size, so to add new values, you must
  97.         delete something first.
  98.         
  99.         Environset("DUMMY","")      ; Free up some space first
  100.         EnvironSet("FLAGCITY","-a-b-c-d-e /4/5 -Fc")
  101.    
  102. runenviron (who,params,how,wait)
  103.         Launches a program and has it inheirit the current environment as set
  104.         with the environset command.
  105.   
  106. exetypeinfo(EXENAME)
  107.         Returns interger describing type of EXE file specified
  108.         
  109.         a=ExeTypeInfo("notepad.exe")
  110.         
  111.         0=Not an EXE file
  112.         1=DOS
  113.         2=Windows
  114.         3=NT, etc....not implemented yet.  Have they settled on the NT EXE
  115.               file format yet???
  116.   
  117. envitemize()
  118.         Returns a \n delimited list of the current environment
  119.         
  120.         Message("Da Environment is",envitemize())
  121.          
  122.         
  123.  
  124.   KeyToggleGet(@key)    returns the status of a toggle key, either @ON or @OFF
  125.   KeyToggleSet(@key,value) returns old state of key and sets new state
  126.  
  127.     @key may be one of the following:
  128.             @CAPSLOCK
  129.             @NUMLOCK
  130.             @SCROLLLOCK
  131.     value may be @ON or @OFF
  132.     
  133.     
  134. DllCall(dllname,entrypointname,parameters)
  135.  
  136.     as in:
  137.         Answer=DllCall("MYOWN.DLL","DoitToit","123 4567 'A Few Params'") 
  138.         
  139.         The DLL entrypoint must be written per:
  140.         
  141.         Win16
  142.            GLOBALHANDLE FAR PASCAL DoitToit(HWND,LPSTR)
  143.         WINNT
  144.            GLOBALHANDLE DoitToit(HWND,LPSTR)
  145.         
  146.          Any return value by the DLL must be in a szString format in
  147.          a GlobalMemory object.  The Object must be unlocked when
  148.          the the DLL returns.  The DllCall processor will lock the object,
  149.          transfer the contents to variable string storage, unlock the
  150.          object and GlobalFree the object.  It is recommended that
  151.          restraint be used in returning large strings.  4K should be 
  152.          considered a maximum.  16K will be very unreliable (3096 out of
  153.          memory for string storage).  32k will always fail.  Numeric
  154.          responses must be converted to ascii strings.   There should be
  155.          a sample DLL build for this by the time we really ship.
  156.          
  157.             
  158. IconReplace("FILENAME.EXE","ICONFILE.ICO")
  159.     Icon replace will preform surgery on an EXE file and replace the first icon in the EXE file
  160.     with the icon in the ICO file.  The icon in the ICO file must be the same size or smaller
  161.     then the icon in EXE file.  It is suggested that due caution be used when using this command
  162.     as the following conditions may occur:
  163.         1) EXE file might become damaged and unable to run.  This is especially true of
  164.            some programs that checksum themselves to verify the EXE.  Keep backups.
  165.         2) System anti-virus tools might detect the alteration of an EXE file and complain.
  166.            If this is true, then either the anti-virus program must be disabled, or another
  167.            workaround must be used.  Some Anti-virus programs allow the specification of a
  168.            "trusted" program - the trusted feature may be used with due caution.
  169.  
  170.  
  171.  
  172. SendKeysTo("WindowName","Sendkeystring")
  173.     Similiar to SendKey, but the window "WindowName" will be activated before sending any keys.
  174.  
  175.  
  176.  
  177. SendMenusTo("WindowName","MenuName") 
  178.     Will activate "WindowName", Search its menus for "MenuName", and post the appropriate WIndows
  179.     windows message for the menu operation.
  180.  
  181.               
  182. New parameters for the FileOpen function as in
  183.  
  184.      FileOpen("FileName",option)
  185.      
  186.           where FileName is the filename or the "Named Pipe" name
  187.           option can be READ WRITE APPEND or PIPE
  188.           
  189.           APPEND is a WRITE with the file pointer set to the end of the file
  190.           PIPE allows communication with a named pipe set up by anotehr process.
  191.           This PIPE is a client side only pipe.          
  192.  
  193.